package com.xyht.sca_s.student_manage_system.modules.welcomeNewStudent.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 收费计划表
 * </p>
 *
 * @author XYHT
 * @since 2024-01-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_wns_charge_plan")
@ApiModel(value = "SmsWnsChargePlan对象", description = "收费计划表")
public class SmsWnsChargePlan implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收费计划id")
    private String id;

    @ApiModelProperty(value = "收费计划名")
    private String name;

    @ApiModelProperty(value = "收费计划详细描述，说明操作内容和要求")
    private String description;

    @ApiModelProperty(value = "计划类型(0.新生缴费 1.普通缴费)")
    private Integer type;

    @ApiModelProperty(value = "收费开始时间")
    private Date startTime;

    @ApiModelProperty(value = "收费结束时间")
    private Date endTime;

    @ApiModelProperty(value = "范围粒度(1.专业 2.班级 3.人员)")
    private Integer rangeType;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "范围id集合")
    private String idList;

    @ApiModelProperty(value = "收费类别详情id集合")
    private String detailIdList;

    @ApiModelProperty(value = "是否被初始化")
    private Boolean isInitialized;

    @ApiModelProperty(value = "是否发布")
    private Boolean isPublish;

    @ApiModelProperty(value = "是否暂停")
    private Boolean isPause;

    @ApiModelProperty(value = "商户类型")
    private Integer wxPayFunctionType;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "是否删除：0：未删除 1：已删除")
    @TableLogic
    private Integer isDeleted;


}
